package com.pactera.sz.cmb202101.utils;

public enum ResponseEnum {

    AUTH_NOT_ENOUGH(1001, "用户权限不足,无法执行该操作"),

    MENU_QUERY_SUCCESS(2000, "菜单查询成功");


    //业务响应状态码
    private Integer code;
    //业务响应信息
    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    ResponseEnum(Integer code, String msg) {
        this.code = code;
        this.message = msg;
    }


}
